Skip to content

feat(silo): add verbosity argument to CLI interface#1175

Open
Taepper wants to merge 1 commit intomainfrom
565-silo-verbosity
Open

feat(silo): add verbosity argument to CLI interface#1175
Taepper wants to merge 1 commit intomainfrom
565-silo-verbosity

Conversation

@Taepper
Copy link
Collaborator

@Taepper Taepper commented Feb 20, 2026

resolves #565

Summary

-v / --verbose can be passed once for debug-level logging and twice for trace-level logging

-vv.. is also supported

PR Checklist

  • All necessary documentation has been adapted or there is an issue to do so. (--help message)
  • The implemented feature is covered by an appropriate test.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

This is a preview of the changelog of the next release. If this branch is not up-to-date with the current main branch, the changelog may not be accurate. Rebase your branch on the main branch to get the most accurate changelog.

Note that this might contain changes that are on main, but not yet released.

Changelog:

0.9.12 (2026-02-20)

Features

  • silo: add verbosity argument to CLI interface (094ac49)

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +18 to 20
/// `positional_arguments`, `asks_for_help`, and `verbose_count` are only used
/// by the command line argument backend, other backends leave them empty/false/0.
class VerifiedConfigAttributes {
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The doc comment on VerifiedConfigAttributes references positional_arguments, asks_for_help, and verbose_count, but those members are not part of VerifiedConfigAttributes (they’re on VerifiedCommandLineArguments). Consider moving this note to the VerifiedCommandLineArguments docblock (or rewording to avoid implying these fields exist on all VerifiedConfigAttributes).

Copilot uses AI. Check for mistakes.
Comment on lines +99 to +103
if (!arg.starts_with('-') || arg.starts_with("--")) {
expanded_args.push_back(arg);
} else {
for (char shorthand : arg.substr(1)) {
if (shorthand == 'v') {
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expandArguments() drops the standalone "-" argument: for arg == "-", the else-branch iterates over arg.substr(1) (empty) and appends nothing, so verification succeeds with the argument silently ignored. Previously this would surface as an invalid option error. Handle this explicitly (e.g., treat "-" as an unknown option and keep it in expanded_args, or treat it as positional only when preceded by "--").

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Silo preprocessing should have verbosity argument that allows debug logging, e.g. showing exact file names used etc.

3 participants